﻿using System;
using System.Collections.Generic;
using SuCasa.Infrastructure;

namespace SuCasa.Models
{
    public class MemberAddEntryViewModel : MemberEntryViewModel
    {
        public IEnumerable<Member> Members { get; set; }   
    }

    public class MemberEntryViewModel
    {
        public int MemberId{ get; set; }

        public int MemberTypeId { get; set; }
        public string Name{
            get{
                return string.Format("{0} {1} {2}", FirstName, MiddleName, LastName);
            }
        }
        public int? ParentMemberId { get; set; }
        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string Address3 { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string PostalCode { get; set; }
        public DateTime DateOfBirth { get; set; }
        public string HomePhone { get; set; }
        public string CellPhone { get; set; }
        public string Email { get; set; }
        public DateTime SignUpDate { get; set; }
        public string PersonalHistoryNotes { get; set; }
        public string CurrentSchoolNotes { get; set; }
        public string CountryOfOrigin { get; set; }
        public DateTime UsEntranceDate { get; set; }
        public string JobNotes { get; set; }
        public string AssociatedChurch { get; set; }
    }
}